package com.aji.alluser.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色用户表
 * @TableName role_user
 */
@TableName(value ="role_user")
@Data
@Builder
public class RoleUser implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除(0.未删除;1.已删除)
     */
    private Integer isDelete;

    /**
     * 操作人
     */
    private String operator;

    /**
     * roleid
     */
    private Integer roleId;

    /**
     * userid
     */
    private Long userId;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}